package com.ruoyi.project.system.list.domain;

import java.beans.Transient;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 acc_list
 * 
 * @author ruoyi
 * @date 2022-05-06
 */
public class AccList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 账号 */
    private String acc;

    /** 类型 */
    private String type;

    /** 密码 */
    @Excel(name = "密码")
    private String passwd;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endUpdate;

    /** 当天(update)学习状态(0表示未学1表示正在学习2表示已完成) */
    @Excel(name = "当天(update)学习状态(0表示未学1表示正在学习2表示已完成)")
    private Integer stateDay;

    /** 已完成学时 */
    @Excel(name = "已完成学时")
    private Integer classHour;

    /** 账号状态0表示未完成，1表示已完成 */
    @Excel(name = "账号状态0表示未完成，1表示已完成")
    private Integer state;

    /** 备注 */
    @Excel(name = "备注")
    private String ramarks;

    @Excel(name = "姓名")
    private String name;
//    private List<String> accs;
//
//    public List<String> getAccs() {
//        return accs;
//    }
//
//    public void setAccs(List<String> accs) {
//        this.accs = accs;
//    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAcc(String acc)
    {
        this.acc = acc;
    }

    public String getAcc()
    {
        return acc;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setPasswd(String passwd)
    {
        this.passwd = passwd;
    }

    public String getPasswd()
    {
        return passwd;
    }
    public void setEndUpdate(Date endUpdate)
    {
        this.endUpdate = endUpdate;
    }

    public Date getEndUpdate()
    {
        return endUpdate;
    }
    public void setStateDay(Integer stateDay)
    {
        this.stateDay = stateDay;
    }

    public Integer getStateDay()
    {
        return stateDay;
    }
    public void setClassHour(Integer classHour)
    {
        this.classHour = classHour;
    }

    public Integer getClassHour()
    {
        return classHour;
    }
    public void setState(Integer state)
    {
        this.state = state;
    }

    public Integer getState()
    {
        return state;
    }
    public void setRamarks(String ramarks)
    {
        this.ramarks = ramarks;
    }

    public String getRamarks()
    {
        return ramarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("acc", getAcc())
            .append("type", getType())
            .append("passwd", getPasswd())
            .append("endUpdate", getEndUpdate())
            .append("stateDay", getStateDay())
            .append("classHour", getClassHour())
            .append("state", getState())
            .append("ramarks", getRamarks())
                .append("name", getName())
            .toString();
    }
}
